<ManagementPack ContentReadable="true" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
	<Manifest>
		<Identity>
			<ID>Linux.SLES10.Sudo</ID>
			<Version>1.0.0.0</Version>
		</Identity>
		<Name>Linux.SLES10.Sudo</Name>
		<References>
			<Reference Alias="SC">
				<ID>Microsoft.SystemCenter.Library</ID>
				<Version>6.1.7221.0</Version>
				<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
			</Reference>
			<Reference Alias="SLES10">
				<ID>Microsoft.Linux.SLES.10</ID>
				<Version>6.1.7000.273</Version>
				<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
			</Reference>
			<Reference Alias="Unix">
				<ID>Microsoft.Unix.Library</ID>
				<Version>6.1.7000.273</Version>
				<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
			</Reference>
			<Reference Alias="Windows">
				<ID>Microsoft.Windows.Library</ID>
				<Version>6.1.7221.0</Version>
				<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
			</Reference>
			<Reference Alias="Health">
				<ID>System.Health.Library</ID>
				<Version>6.1.7221.0</Version>
				<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
			</Reference>
			<Reference Alias="System">
				<ID>System.Library</ID>
				<Version>6.1.7221.0</Version>
				<PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
			</Reference>
		</References>
	</Manifest>

	<Monitoring>
		<Diagnostics>
			<Diagnostic ID="Microsoft.Linux.SLES.10.Process.Cron.Diagnostic" Accessibility="Public" Enabled="true" Target="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Monitor="SLES10!Microsoft.Linux.SLES.10.Process.Cron.Monitor" ExecuteOnState="Error" Remotable="true" Timeout="300">
				<Category>Maintenance</Category>
				<ProbeAction ID="ExecuteCommand" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.Privileged.ProbeAction">
					<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</TargetSystem>
					<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
					<Selector />
					<InvokeAction>ExecuteCommand</InvokeAction>
					<Input>&lt;p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"&gt;&lt;p:command&gt;sudo -k; echo $RunAs[Name="Unix!Microsoft.Unix.PrivilegedAccount"]/Password$ | sudo -S service cron status&lt;/p:command&gt;&lt;p:timeout&gt;60&lt;/p:timeout&gt;&lt;/p:ExecuteCommand_INPUT&gt;</Input>
				</ProbeAction>
			</Diagnostic>
			<Diagnostic ID="Microsoft.Linux.SLES.10.Process.Syslog.Diagnostic" Accessibility="Public" Enabled="true" Target="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Monitor="SLES10!Microsoft.Linux.SLES.10.Process.Syslog.Monitor" ExecuteOnState="Error" Remotable="true" Timeout="300">
				<Category>Maintenance</Category>
				<ProbeAction ID="ExecuteCommand" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.Privileged.ProbeAction">
					<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</TargetSystem>
					<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
					<Selector />
					<InvokeAction>ExecuteCommand</InvokeAction>
					<Input>&lt;p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"&gt;&lt;p:command&gt;sudo -k; echo $RunAs[Name="Unix!Microsoft.Unix.PrivilegedAccount"]/Password$ | sudo -S service syslog status&lt;/p:command&gt;&lt;p:timeout&gt;60&lt;/p:timeout&gt;&lt;/p:ExecuteCommand_INPUT&gt;</Input>
				</ProbeAction>
			</Diagnostic>
			<Diagnostic ID="Microsoft.Linux.SLES.10.Process.SSH.Diagnostic" Accessibility="Public" Enabled="true" Target="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Monitor="SLES10!Microsoft.Linux.SLES.10.Process.Ssh.Monitor" ExecuteOnState="Error" Remotable="true" Timeout="300">
				<Category>Maintenance</Category>
				<ProbeAction ID="ExecuteCommand" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.Privileged.ProbeAction">
					<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</TargetSystem>
					<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
					<Selector />
					<InvokeAction>ExecuteCommand</InvokeAction>
					<Input>&lt;p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"&gt;&lt;p:command&gt;sudo -k; echo $RunAs[Name="Unix!Microsoft.Unix.PrivilegedAccount"]/Password$ | sudo -S service sshd status&lt;/p:command&gt;&lt;p:timeout&gt;60&lt;/p:timeout&gt;&lt;/p:ExecuteCommand_INPUT&gt;</Input>
				</ProbeAction>
			</Diagnostic>
		</Diagnostics>
		<Recoveries>
			<Recovery ID="Microsoft.Linux.SLES.10.Process.Cron.Restart" Accessibility="Public" Enabled="false" Target="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Monitor="SLES10!Microsoft.Linux.SLES.10.Process.Cron.Monitor" ResetMonitor="false" ExecuteOnDiagnostic="Microsoft.Linux.SLES.10.Process.Cron.Diagnostic" Remotable="true" Timeout="300">
				<Category>Maintenance</Category>
				<WriteAction ID="StartProcess" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.Privileged.WriteAction">
					<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</TargetSystem>
					<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
					<Selector />
					<InvokeAction>ExecuteCommand</InvokeAction>
					<Input>&lt;p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"&gt;&lt;p:command&gt;sudo -k; echo $RunAs[Name="Unix!Microsoft.Unix.PrivilegedAccount"]/Password$ | sudo -S service cron start&lt;/p:command&gt;&lt;p:timeout&gt;60&lt;/p:timeout&gt;&lt;/p:ExecuteCommand_INPUT&gt;</Input>
				</WriteAction>
			</Recovery>
			<Recovery ID="Microsoft.Linux.SLES.10.Process.Syslog.Restart" Accessibility="Public" Enabled="false" Target="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Monitor="SLES10!Microsoft.Linux.SLES.10.Process.Syslog.Monitor" ResetMonitor="false" ExecuteOnDiagnostic="Microsoft.Linux.SLES.10.Process.Syslog.Diagnostic" Remotable="true" Timeout="300">
				<Category>Maintenance</Category>
				<WriteAction ID="StartProcess" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.Privileged.WriteAction">
					<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</TargetSystem>
					<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
					<Selector />
					<InvokeAction>ExecuteCommand</InvokeAction>
					<Input>&lt;p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"&gt;&lt;p:command&gt;sudo -k; echo $RunAs[Name="Unix!Microsoft.Unix.PrivilegedAccount"]/Password$ | sudo -S service syslog start&lt;/p:command&gt;&lt;p:timeout&gt;60&lt;/p:timeout&gt;&lt;/p:ExecuteCommand_INPUT&gt;</Input>
				</WriteAction>
			</Recovery>
			<Recovery ID="Microsoft.Linux.SLES.10.Process.ACPI.Restart" Accessibility="Public" Enabled="false" Target="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Monitor="SLES10!Microsoft.Linux.SLES.10.Process.Acpi.Monitor" ResetMonitor="false" ExecuteOnDiagnostic="SLES10!Microsoft.Linux.SLES.10.Process.ACPI.Diagnostic" Remotable="true" Timeout="300">
				<Category>Maintenance</Category>
				<WriteAction ID="StartProcess" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.Privileged.WriteAction">
					<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</TargetSystem>
					<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
					<Selector />
					<InvokeAction>ExecuteCommand</InvokeAction>
					<Input>&lt;p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"&gt;&lt;p:command&gt;sudo -k; echo $RunAs[Name="Unix!Microsoft.Unix.PrivilegedAccount"]/Password$ | sudo -S service acpid start&lt;/p:command&gt;&lt;p:timeout&gt;60&lt;/p:timeout&gt;&lt;/p:ExecuteCommand_INPUT&gt;</Input>
				</WriteAction>
			</Recovery>
			<Recovery ID="Microsoft.Linux.SLES.10.Process.Klog.Restart" Accessibility="Public" Enabled="false" Target="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Monitor="SLES10!Microsoft.Linux.SLES.10.Process.Klog.Monitor" ResetMonitor="false" ExecuteOnDiagnostic="SLES10!Microsoft.Linux.SLES.10.Process.Klog.Diagnostic" Remotable="true" Timeout="300">
				<Category>Maintenance</Category>
				<WriteAction ID="StartProcess" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.Privileged.WriteAction">
					<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</TargetSystem>
					<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
					<Selector />
					<InvokeAction>ExecuteCommand</InvokeAction>
					<Input>&lt;p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"&gt;&lt;p:command&gt;sudo -k; echo $RunAs[Name="Unix!Microsoft.Unix.PrivilegedAccount"]/Password$ | sudo -S /sbin/klogd&lt;/p:command&gt;&lt;p:timeout&gt;60&lt;/p:timeout&gt;&lt;/p:ExecuteCommand_INPUT&gt;</Input>
				</WriteAction>
			</Recovery>
			<Recovery ID="Microsoft.Linux.SLES.10.Process.SSH.Restart" Accessibility="Public" Enabled="false" Target="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Monitor="SLES10!Microsoft.Linux.SLES.10.Process.Ssh.Monitor" ResetMonitor="false" ExecuteOnDiagnostic="Microsoft.Linux.SLES.10.Process.SSH.Diagnostic" Remotable="true" Timeout="300">
				<Category>Maintenance</Category>
				<WriteAction ID="StartProcess" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.Privileged.WriteAction">
					<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</TargetSystem>
					<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
					<Selector />
					<InvokeAction>ExecuteCommand</InvokeAction>
					<Input>&lt;p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"&gt;&lt;p:command&gt;sudo -k; echo $RunAs[Name="Unix!Microsoft.Unix.PrivilegedAccount"]/Password$ | sudo -S service sshd start&lt;/p:command&gt;&lt;p:timeout&gt;60&lt;/p:timeout&gt;&lt;/p:ExecuteCommand_INPUT&gt;</Input>
				</WriteAction>
			</Recovery>
			<Recovery ID="Microsoft.Linux.SLES.10.Process.Udev.Restart" Accessibility="Public" Enabled="false" Target="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Monitor="SLES10!Microsoft.Linux.SLES.10.Process.Udev.Monitor" ResetMonitor="false" ExecuteOnDiagnostic="SLES10!Microsoft.Linux.SLES.10.Process.Udev.Diagnostic" Remotable="true" Timeout="300">
				<Category>Maintenance</Category>
				<WriteAction ID="StartProcess" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.Privileged.WriteAction">
					<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</TargetSystem>
					<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
					<Selector />
					<InvokeAction>ExecuteCommand</InvokeAction>
					<Input>&lt;p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"&gt;&lt;p:command&gt;sudo -k; echo $RunAs[Name="Unix!Microsoft.Unix.PrivilegedAccount"]/Password$ | sudo -S /etc/init.d/boot.udev restart&lt;/p:command&gt;&lt;p:timeout&gt;60&lt;/p:timeout&gt;&lt;/p:ExecuteCommand_INPUT&gt;</Input>
				</WriteAction>
			</Recovery>
			<Recovery ID="Microsoft.Linux.SLES.10.LogicalDisk.DiskHealth.Mount" Accessibility="Public" Enabled="false" Target="SLES10!Microsoft.Linux.SLES.10.LogicalDisk" Monitor="SLES10!Microsoft.Linux.SLES.10.LogicalDisk.DiskHealth.Monitor" ResetMonitor="false" ExecuteOnDiagnostic="SLES10!Microsoft.Linux.SLES.10.LogicalDisk.DiskHealth.Diagnostic" Remotable="true" Timeout="300">
				<Category>Maintenance</Category>
				<WriteAction ID="StartProcess" TypeID="Unix!Microsoft.Unix.WSMan.Invoke.Privileged.WriteAction">
					<TargetSystem>$Target/Host/Property[Type="Unix!Microsoft.Unix.Computer"]/PrincipalName$</TargetSystem>
					<Uri>http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem?__cimnamespace=root/scx</Uri>
					<Selector />
					<InvokeAction>ExecuteCommand</InvokeAction>
					<Input>&lt;p:ExecuteCommand_INPUT xmlns:p="http://schemas.microsoft.com/wbem/wscim/1/cim-schema/2/SCX_OperatingSystem"&gt;&lt;p:command&gt;sudo -k; echo $RunAs[Name="Unix!Microsoft.Unix.PrivilegedAccount"]/Password$ | sudo -S mount $Target/Property[Type="Unix!Microsoft.Unix.LogicalDevice"]/DeviceID$&lt;/p:command&gt;&lt;p:timeout&gt;60&lt;/p:timeout&gt;&lt;/p:ExecuteCommand_INPUT&gt;</Input>
				</WriteAction>
			</Recovery>
		</Recoveries>
		<Overrides>
			<RecoveryPropertyOverride ID="OverrideForRecoveryMicrosoftLinuxSLES10ProcessACPIRestartForContextMicrosoftLinuxSLES10OperatingSystem648082618576424496d56ffe202262af" Context="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Enforced="false" Recovery="SLES10!Microsoft.Linux.SLES.10.Process.ACPI.Restart" Property="Enabled">
				<Value>false</Value>
			</RecoveryPropertyOverride>
			<DiagnosticPropertyOverride ID="OverrideForDiagnosticMicrosoftLinuxSLES10ProcessCronDiagnosticForContextMicrosoftLinuxSLES10OperatingSystemccb9f1999b394401aa7718bcf413987d" Context="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Enforced="false" Diagnostic="SLES10!Microsoft.Linux.SLES.10.Process.Cron.Diagnostic" Property="Enabled">
				<Value>false</Value>
			</DiagnosticPropertyOverride>
			<RecoveryPropertyOverride ID="OverrideForRecoveryMicrosoftLinuxSLES10ProcessCronRestartForContextMicrosoftLinuxSLES10OperatingSystem59923f6e5aab4d66a9e4418f9343a7ae" Context="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Enforced="false" Recovery="SLES10!Microsoft.Linux.SLES.10.Process.Cron.Restart" Property="Enabled">
				<Value>false</Value>
			</RecoveryPropertyOverride>
			<RecoveryPropertyOverride ID="OverrideForRecoveryMicrosoftLinuxSLES10ProcessUdevRestartForContextMicrosoftLinuxSLES10OperatingSystemdd58aa91522c4ab49e0e4659ad46a729" Context="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Enforced="false" Recovery="SLES10!Microsoft.Linux.SLES.10.Process.Udev.Restart" Property="Enabled">
				<Value>false</Value>
			</RecoveryPropertyOverride>
			<RecoveryPropertyOverride ID="OverrideForRecoveryMicrosoftLinuxSLES10ProcessSyslogRestartForContextMicrosoftLinuxSLES10OperatingSystemd9a8cd7e825d4e5283284b1896b2a84d" Context="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Enforced="false" Recovery="SLES10!Microsoft.Linux.SLES.10.Process.Syslog.Restart" Property="Enabled">
				<Value>false</Value>
			</RecoveryPropertyOverride>
			<DiagnosticPropertyOverride ID="OverrideForDiagnosticMicrosoftLinuxSLES10ProcessSyslogDiagnosticForContextMicrosoftLinuxSLES10OperatingSystem4ee218793882462baa901bbcb3a5e5c5" Context="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Enforced="false" Diagnostic="SLES10!Microsoft.Linux.SLES.10.Process.Syslog.Diagnostic" Property="Enabled">
				<Value>false</Value>
			</DiagnosticPropertyOverride>
			<DiagnosticPropertyOverride ID="OverrideForDiagnosticMicrosoftLinuxSLES10ProcessSSHDiagnosticForContextMicrosoftLinuxSLES10OperatingSystemb767fdfb06ba45a5bb49523fc0920a5c" Context="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Enforced="false" Diagnostic="SLES10!Microsoft.Linux.SLES.10.Process.SSH.Diagnostic" Property="Enabled">
				<Value>false</Value>
			</DiagnosticPropertyOverride>
			<RecoveryPropertyOverride ID="OverrideForRecoveryMicrosoftLinuxSLES10ProcessSSHRestartForContextMicrosoftLinuxSLES10OperatingSystem5363cc536d8f4f77a4c3c840cd5e956a" Context="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Enforced="false" Recovery="SLES10!Microsoft.Linux.SLES.10.Process.SSH.Restart" Property="Enabled">
				<Value>false</Value>
			</RecoveryPropertyOverride>
			<RecoveryPropertyOverride ID="OverrideForRecoveryMicrosoftLinuxSLES10LogicalDiskDiskHealthMountForContextMicrosoftLinuxSLES10LogicalDisk8cf577fe937e4349a5329161e4c47313" Context="SLES10!Microsoft.Linux.SLES.10.LogicalDisk" Enforced="false" Recovery="SLES10!Microsoft.Linux.SLES.10.LogicalDisk.DiskHealth.Mount" Property="Enabled">
				<Value>false</Value>
			</RecoveryPropertyOverride>
			<RecoveryPropertyOverride ID="OverrideForRecoveryMicrosoftLinuxSLES10ProcessKlogRestartForContextMicrosoftLinuxSLES10OperatingSystem2fc4c5947fa4460b9af0ed22482401d9" Context="SLES10!Microsoft.Linux.SLES.10.OperatingSystem" Enforced="false" Recovery="SLES10!Microsoft.Linux.SLES.10.Process.Klog.Restart" Property="Enabled">
				<Value>false</Value>
			</RecoveryPropertyOverride>
		</Overrides>
	</Monitoring>


	<LanguagePacks>
		<LanguagePack ID="ENU" IsDefault="true">
			<DisplayStrings>
				<DisplayString ElementID="Linux.SLES10.Sudo">
					<Name>Sudo overrides for SLES 10 diagnostics and recoveries</Name>
					<Description />
				</DisplayString>
			</DisplayStrings>
		</LanguagePack>
	</LanguagePacks>
</ManagementPack>